package com.ruoyi.shebei.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备台账对象 ledger
 * 
 * @author admin
 * @date 2024-08-02
 */
public class Ledger extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备台账id */
    private Long ledgerId;

    /** 设备id,外键 */
    @Excel(name = "设备id,外键")
    private Long shebeiId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String sbName;

    /** 品牌 */
    @Excel(name = "品牌")
    private String brand;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String geXh;

    /** 所属车间 */
    @Excel(name = "所属车间")
    private String owningWorkshop;

    /** 设备状态  1 正常 2 停用 3报废 */
    @Excel(name = "设备状态  1 正常 2 停用 3报废")
    private String sbStatus;

    public void setLedgerId(Long ledgerId) 
    {
        this.ledgerId = ledgerId;
    }

    public Long getLedgerId() 
    {
        return ledgerId;
    }
    public void setShebeiId(Long shebeiId) 
    {
        this.shebeiId = shebeiId;
    }

    public Long getShebeiId() 
    {
        return shebeiId;
    }
    public void setSbName(String sbName) 
    {
        this.sbName = sbName;
    }

    public String getSbName() 
    {
        return sbName;
    }
    public void setBrand(String brand) 
    {
        this.brand = brand;
    }

    public String getBrand() 
    {
        return brand;
    }
    public void setGeXh(String geXh) 
    {
        this.geXh = geXh;
    }

    public String getGeXh() 
    {
        return geXh;
    }
    public void setOwningWorkshop(String owningWorkshop) 
    {
        this.owningWorkshop = owningWorkshop;
    }

    public String getOwningWorkshop() 
    {
        return owningWorkshop;
    }
    public void setSbStatus(String sbStatus) 
    {
        this.sbStatus = sbStatus;
    }

    public String getSbStatus() 
    {
        return sbStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ledgerId", getLedgerId())
            .append("shebeiId", getShebeiId())
            .append("sbName", getSbName())
            .append("brand", getBrand())
            .append("geXh", getGeXh())
            .append("owningWorkshop", getOwningWorkshop())
            .append("sbStatus", getSbStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
